package gptma.bo.services.reporting;

import gptma.bo.model.employee.Employee;

import java.io.Serializable;
import java.util.Date;

public class ReportingOrder implements Serializable {

	private static final long serialVersionUID = -7401507440243898054L;

	private Employee employee;

	private Date startDate;

	private Date endDate;

	public ReportingOrder(Employee employee, Date startDate, Date endDate) {
		this.employee = employee;
		this.startDate = startDate;
		this.endDate = endDate;
	}

	/**
	 * @return the employee
	 */
	public Employee getEmployee() {
		return employee;
	}

	/**
	 * @return the startDate
	 */
	public Date getStartDate() {
		return startDate;
	}

	/**
	 * @return the endDate
	 */
	public Date getEndDate() {
		return endDate;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return new StringBuilder("ReportingOrder[employee=").append(employee)
				.append(", startDate=").append(startDate).append(", endDate=")
				.append(endDate).append("]").toString();
	}

}
